@Inject('$http')
class MeetingService {

  save(item) {
    return this.$http.post('/api/v1/safeActivity/meeting/add', item);
  }

  delete(param) {
    return this.$http.post('/api/v1/safeActivity/meeting/delete', param);
  }

  update(item) {
    return this.$http.post('/api/v1/safeActivity/meeting/update', item);
  }

  get(id) {
    return this.$http({
      url: '/api/v1/safeActivity/meeting/get',
      method: 'GET',
      params: { id },
    });
  }

  query(param) {
    return this.$http.post('/api/v1/safeActivity/meeting/query', param);
  }
}

export default MeetingService;
